package com.ruoyi.work.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 刷量媒体资料对象 work_media_flow
 * 
 * @author ruoyi
 * @date 2022-01-02
 */
public class WorkMediaFlow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 媒体ID */
    private Long mediaId;

    @Excel(name = "媒体名称", prompt = "必填")
    private String mediaName;

    /** 平台 */
    @Excel(name = "平台",dictType="work_platform")
    private String platform;

    /** 分类 */
    @Excel(name = "分类",dictType="work_category")
    private String category;

    /** 是否直营 */
    @Excel(name = "是否直营",dictType="sys_yes_no")
    private String isDirect;

    /** 联系人 */
    @Excel(name = "联系人", type = Excel.Type.EXPORT)
    private String contacts;

    /** 状态 */
    private String status;
    @Excel(name = "联系人ID", type = Excel.Type.IMPORT)
    private Long contactId;

    public Long getContactId() {
        return contactId;
    }

    public void setContactId(Long contactId) {
        this.contactId = contactId;
    }

    public void setMediaId(Long mediaId) 
    {
        this.mediaId = mediaId;
    }

    public Long getMediaId() 
    {
        return mediaId;
    }
    public void setPlatform(String platform) 
    {
        this.platform = platform;
    }

    public String getPlatform() 
    {
        return platform;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setIsDirect(String isDirect) 
    {
        this.isDirect = isDirect;
    }

    public String getIsDirect() 
    {
        return isDirect;
    }
    public void setContacts(String contacts) 
    {
        this.contacts = contacts;
    }

    public String getContacts() 
    {
        return contacts;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getMediaName() {
        return mediaName;
    }

    public void setMediaName(String mediaName) {
        this.mediaName = mediaName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mediaId", getMediaId())
            .append("platform", getPlatform())
            .append("category", getCategory())
            .append("isDirect", getIsDirect())
            .append("contacts", getContacts())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
